# encoding: utf-8

def cn_Letter(s):
	letter,number,space,other = 0,0,0,0
	for c in s:
		if c.isalpha():
			letter += 1
		elif c.isdigit():
			number +=1
		elif c == ' ':
			space += 1
		else:
			other += 1
	return ('字母：{:3d}，数字：{:3d}，空格：{:3d}，其它：{:3d}'.format(letter, number, space, other))

print(cn_Letter('a b cd "4" 3 530 90 ^%*'))
	
	
		
	